home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / SOUND / ACME-SAT.ZIP / ACME.NFO next >
Encoding:
Text File  |  1993-10-28  |  4.1 KB  |  94 lines

  1.  
  2.                              ▄▀█ ▄▀▀▀▀▀▀ ▄▀▄▀█ █▀▀▄
  3.                            ▄▀  █ █     ▄▀    █ █▄▄▄█
  4. █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀ ▄▄▄█ ▀▄▄ ▄▀      █ █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  5.                                d e l i v e r s ───────────────────────────────┐
  6. ┌─────────────────────────────────────────────────────────────────────────────┘
  7. └[27/10/1993]
  8.  
  9. This piece of code is a fully working asm source of an AdLib player. It
  10. can play .SAT files (from Surprise! prod. Adlib Tracker/Rick dangerous S!P),
  11. but can be changed to play other type of files.
  12. Made this little thingy all by myself in about 1.5 days, so don't complain
  13. about any bugs or that kind of stuff. Not all special effects are included
  14. (like porta up/down), but they will be in next versions.
  15. I hope you can use it in your own intro/demo. If you use it, please give
  16. credits to the coder (me, Lone Ranger/AcmE), and send me the product it's
  17. used in (see below for contacting info etc.)
  18.  
  19. Here some info about the player. it can work in two modes: timer mode or
  20. polling mode. In timer mode the player does all the stuff (reprograms the
  21. timer int), and in polling mode you have to call the player 50 or 70 times
  22. a second, so YOU have to do all the timing stuff. This is how to use it:
  23.  
  24. EXTRN   SAT_player:FAR                  ; far call
  25.  
  26.         mov     bx, 0                   ; check for FM chip
  27.         call    SAT_player
  28.         jc      no_fm_chip_found        ; give a warning or something like that
  29.  
  30.         mov     bx, 1                   ; reset FM chip
  31.         call    SAT_player
  32.  
  33.         mov     ax, seg _MusicSeg       ; segment of SAT file
  34.         mov     es, ax
  35.         mov     al, 0                   ; 0 for TIMER mode, 1 for polling mode
  36.         mov     bx, 2
  37.         Call    SAT_player
  38.  
  39.         mov     bx, 3                   ; Start playing
  40.         call    SAT_player
  41.  
  42. ; if you use TIMER mode, you can do your own stuff
  43. ; but when you use polling mode, you have to call the player 50 or 70 times
  44. ; a second, ie. during a vert retrace.
  45.  
  46.         mov     bx, 4                   ; poll player
  47.         Call    SAT_player
  48.  
  49. ; and when your finished, just do:
  50.  
  51.         mov     bx, 5
  52.         call    SAT_player
  53.  
  54. This should get you started. While playing you have a few variables to play
  55. with (only read, DON'T EVER WRITE TO THEM (it will screw up the player)).
  56.  
  57. SAT_Equalizer   36 bytes                ; this is a nice 36-freq equalizer.
  58.                                         ; every byte is one freq. (0-63)
  59.                                         ; see SATplay.asm for how to use it
  60.  
  61. SAT_SongPos     1 byte                  ; current song position
  62.  
  63. SAT_PatternPos  1 word                  ; current position in pattern
  64.                                         ; this is a real position so when
  65.                                         ; you divide this by 5*9 (size of one
  66.                                         ; row), you'll get the actual row.
  67.  
  68. ───────────────────────────────────────────────────────────────────────────────
  69.  
  70. If you have any suggestions, questions or problems with this AcmE (tm) product
  71. please contact us.
  72.  
  73. Also we are always looking for talented people to join us, so if you would like
  74. to become part of AcmE (tm) contact us.
  75.  
  76. _AcmE__________________________________________________________________________
  77.  
  78. How to contact AcmE (tm) :
  79.                           -Workstation      : Blue Steel bbs +31-(0)20-6403972
  80.                                               9600 bauds and 500 megs of true
  81.                                               quality stuff. Your sysop : MadMan
  82.  
  83.                           -Mail             : Aap.AcmE
  84.                                               Griend 12
  85.                                               1112 LD
  86.                                               Diemen
  87.                                               Holland
  88.  
  89.                           -Electronic mail  : CDN 94:410/217
  90.                                               SBC 14:1000/107.1
  91.  
  92. __________________________________________________________________________AcmE_
  93.